#import <Foundation/Foundation.h>

#import "Paging.h"
#import "SNamespace.h"
#import "SClass.h"


#import "RecordFactory.h"

int main (int argc, const char * argv[]) {		
	
	//Record *r = [RecordFactory createClassRecord:@"test" withParent:[RID createWithValue:1] inNamespace:[RID createWithValue:2]];
	//NSLog(@"%@",r);
	
	
	SClass *class = [[[SClass alloc] init] autorelease];

	int i;
	for(i=0;i<100;i++){
		Record *r = [class createClassInNamespace:nil withParent:nil withName:[NSString stringWithFormat:@"%d",i]];
		//NSArray *r = [namespace getNamespace:[NSString stringWithFormat:@"%d",i]];
		NSLog(@"%@",r);
	}
	
	
	[class close];
	
	
	return 0;
}
